public class Work04{
	public static void main(String[] args){
		Circle c1 = new Circle(2);
		System.out.println(c1.area()); 
		System.out.println(c1.length());  

	}
}

class Circle{
	double radius;
    public Circle(double radius){
    	this.radius = radius;
    }

    public double area(){
    	return Math.PI*this.radius*this.radius;
    }

    public double length(){
    	return 2 * Math.PI * this.radius;
    }
}